package com.coolingme.battercake.simple;

/**
 * 煎饼加鸡蛋
 *
 * @author wangyue
 * @date 2020-09-15 23:13
 */
public class BattercakeWithEgg extends Battercake {

    @Override
    protected String getMsg() {
        return super.getMsg() + " 加一个鸡蛋";
    }

    @Override
    public Double getPrice() {
        return super.getPrice() + 0.5;
    }
}
